package com.tourism.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tourism.domain.entity.Favorite;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FavoriteMapper extends BaseMapper<Favorite> {

    List<Favorite> getAllFavoritesByUserId(@Param("userId") Long userId);
}




